var pageSize = 5
var vpagin = new Pagin({
  el: "#myPage",
  dataSize: verified.vlist.length,
  pageSize: pageSize,
  func: function () {
    // alert(PaginJson.pageIndex)
    verified.vplist = getUserVerifiedMsg(PaginJson.pageIndex, pageSize)
  }
})

//创建滚动加载
var rollLoad = new RollLoad(function () {
  //触发事件
  // salert("我已经到底部啦！")
})

function getUserVerifiedMsg(pageIndex, PageSize) {
  var vpeginList
  $.ajax({
    url: "http://47.102.45.219:8080/Appoint/editVerifiedServlet/getVerifiedPagin",
    data: {
      "pageIndex": pageIndex,
      "pageSize": PageSize,
    },
    global: false,
    type: "POST",
    dataType: "json",
    xhrFields: {
      withCredentials: true
    },
    async: false,
    success: function (data) {
      vpeginList = data.data
    },
    error: function (XMLHttpRequest, textStatus, errorThrown) {

    }
  })
  return vpeginList
}